package com.ruoyi.common.sms.service;

import com.ruoyi.common.oms.entity.YytOmsOrder;
import com.ruoyi.common.sms.entity.YytSmsCoupon;
import com.ruoyi.common.sms.entity.YytSmsCouponHistory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* <p>
    * 优惠券领取历史记录 服务类
    * </p>
*
* @author MrPing
* @since 2022-05-31
*/
public interface YytSmsCouponHistoryService extends IService<YytSmsCouponHistory> {

    List<YytSmsCoupon> getUserCouponSpuList(String memberId, String spuId);

    Boolean upCouponModeStatus(String ids, String orderId);

    void getUpdateCoupon(YytOmsOrder yytOmsOrder);
}
